<!--
<?php
print<<<EOT
-->  
<SCRIPT>
function foreColor_font(obj)
{
  var arr = showModalDialog('images/selcolor.htm', '', 'dialogWidth:18.5em; dialogHeight:17.5em; status:0');
  if (arr != null) { obj.value=arr;obj.style.color=arr;}
  else  obj.focus();
  
}
</SCRIPT>
<div class="MainContainers">
  <div class="Header"><span class="tag">菜单操作</span><span class="more">&gt;&gt;</span></div>
  <div class="Conter">

        <form name="formlist" method="post" action="index.php?lfj=$lfj&action=$atc">
        <table class="FormTable">
<!--
EOT;
if($rsdb[fid]||!$rsdb){print <<<EOT
-->
            <tr> 
              <td class='tdL'>父菜单</td>
              <td class='tdR'>$selected<font color="blue"> 注：红色为手机菜单</font></td>
            </tr>
<!--
EOT;
}print <<<EOT
-->
            <tr> 
              <td class='tdL'>菜单名称 </td>
              <td class='tdR'>
                <input type="text" name="postdb[name]" value="$rsdb[name]">
              </td>
            </tr>
            <tr> 
              <td class='tdL'>链接地址</td>
              <td class='tdR'> 
                <input type="text" name="postdb[linkurl]" value="$rsdb[linkurl]" size="50">
              </td>
            </tr>
            <tr> 
              <td class='tdL'>字体颜色</td>
              <td class='tdR'> 
                <input style="color:$rsdb[color];" type="text" name="postdb[color]" value="$rsdb[color]" onclick="foreColor_font(this);">
              </td>
            </tr>
            <tr> 
              <td class='tdL'>打开方式</td>
              <td class='tdR'> 
                <input type="radio" name="postdb[target]" value="0" $target[0]>
                本窗口打开 
                <input type="radio" name="postdb[target]" value="1" $target[1]>
                新窗口打开</td>
            </tr>
            <tr> 
              <td class='tdL'>隐藏/显示</td>
              <td class='tdR'> 
                <input type="radio" name="postdb[hide]" value="0" $hide[0]>
                显示 
                <input type="radio" name="postdb[hide]" value="1" $hide[1]>
                隐藏</td>
            </tr>
			<tr> 
              <td class='tdL'>pc/wap显示</td>
              <td class='tdR'> 
                <input type="radio" name="postdb[type]" value="0" $typeshow[0]>
                电脑显示 
                <input type="radio" name="postdb[type]" value="1" $typeshow[1]>
                手机显示</td>
            </tr>
            <tr> 
              <td class='tdL'>排序值</td>
              <td class='tdR'> 
                <input type="text" name="postdb[list]" value="$rsdb[list]" maxlength="4" size="5">
                (数字) </td>
            </tr>
        	<tr> 
              <td class='tdL'>扩展字段<span help=1>
        默认是输入相应系统模块的数值,主页就为0
        	  </span></td>
              <td class='tdR'> 
                <input type="text" name="postdb[extend]" value="$rsdb[extend]" size="15">
                (可为空,一般扩展使用,比如选中时链接的样式) </td>
            </tr>
          </table>
          <div class='submits'>
                <input type="submit" name="Submit" value="提交">
                <input type="hidden" name="id" value="$id">            
          </div>
        </form> 
  </div>
</div>
<!--
EOT;
?>
-->
